﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master"
 Inherits="System.Web.Mvc.ViewPage<IntellectShop.Web2.ViewModels.CategoryBrowseCertificationViewModel>" %>
<%@ Import Namespace="IntellectShop.Web2.Code" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%= Html.Resource("BrowsingCategory") %>: <%= Html.Encode(Model.Category.Name) %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

	<h1><%= Html.Resource("BrowsingCategory") %>: <%= Html.Encode(Model.Category.Name) %></h1>
	<ul>
		<% foreach (var each in Model.Certifications)
		{ %>
		<li>
			<strong>
			<%= Html.ActionLink(
					each.Code,
					"Details", "Certification",
					new { id = each.CommodityID }, null)%>
			</strong>:
			<%= each.ToString() %>
		</li>
		<% } %>
	</ul>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="SecondInfo" runat="server">
	<div class="sidebaritem">
		<% Html.RenderPartial("SubmenuStore"); %>
	</div>
</asp:Content>
